Cog: Connecting New Skills To Past Experiences With Offline Reinforcement Learning